package com.biglead.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.param.PmsProductParam;
import com.biglead.admin.param.PmsProductQueryParam;
import com.biglead.admin.param.PmsProductResult;
import com.biglead.admin.pojo.PmsProduct;

import java.util.List;

public interface PmsProductService {
    boolean create(PmsProductParam productParam);

    PmsProductResult getUpdateInfo(Long id);

    boolean update(Long id, PmsProductParam productParam);

    Page<PmsProduct> pageList(PmsProductQueryParam productQueryParam, Integer pageSize, Integer pageNum);

    List<PmsProduct> list(String keyword);

    boolean updateVerifyStatus(List<Long> ids, Integer verifyStatus, String detail);

    boolean updatePublishStatus(List<Long> ids, Integer publishStatus);

    boolean updateRecommendStatus(List<Long> ids, Integer recommendStatus);

    boolean updateNewStatus(List<Long> ids, Integer newStatus);

    boolean updateDeleteStatus(List<Long> ids, Integer deleteStatus);
}
